<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>算法实验选择</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f0f0f5;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }

        h1 {
            color: #333;
            font-size: 2.5em;
            margin-bottom: 20px;
        }

        p {
            color: #666;
            font-size: 1.2em;
            margin-bottom: 40px;
        }

        .button-container {
            display: flex;
            gap: 20px;
        }

        button {
            background-color: #4CAF50;
            border: none;
            color: white;
            padding: 15px 32px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 1.2em;
            margin: 4px 2px;
            cursor: pointer;
            border-radius: 8px;
            transition: background-color 0.3s ease;
        }

        button:hover {
            background-color: #45a049;
        }

        footer {
            position: absolute;
            bottom: 20px;
            color: #999;
            font-size: 0.9em;
        }
    </style>
</head>
<body>
    <h1>欢迎来到算法实验平台</h1>
    <p>请选择要运行的实验：</p>

    <div class="button-container">
        <form action="{% url 'experiment1' %}" method="get">
            <button type="submit">实验一：体验神奇的算法</button>
        </form>

        <form action="{% url 'experiment2' %}" method="get">
            <button type="submit">实验二：检索算法的实现</button>
        </form>

        <form action="{% url 'experiment3' %}" method="get">
            <button type="submit">实验三：背包问题求解</button>
        </form>
    </div>

    <footer>算法实验平台 © 2024</footer>
</body>
</html>
